package com.atguigu.gmall.gateway.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@ConfigurationProperties(prefix = "app.auth")
@Data
public class AuthUrlProperties {

    //静态资源
    private List<String> anyoneUrl;

    //内部资源
    private List<String> denyUrl;

    //需要登录权限才能访问
    private List<String> authUrl;

    //登录页地址
    private String loginPage;
}
